import request from '@/utils/request';

/**
 * 生成文档总结
 *
 * @param data
 * @returns
 */
export function summarycurl_post(data: any) {
	return request({
	  url: "Pdfapiindex/summarycurl_post",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 获取文档总结
 */
export function getsummarycurl_post(data: any) {
	return request({
	  url: "Pdfapiindex/getsummarycurl_post",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 获取类别
 *  */ 

export function getclasslist(data: any) {
	return request({
	  url: "Pdfapiindex/classlist",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}

/**
 * 索取报价企业列表
 * @param data 
 * @returns 
 */
export function getcompanylist(data: any) {
	return request({
	  url: "Pdfapiindex/getcompanylist",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 获取报价
 * @param data 
 * @returns 
 */
export function getoffer(data: any) {
	return request({
	  url: "Pdfapiindex/getoffer",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}

/**
 * 获取相关pdf解读参数
 * @param data 
 * @returns 
 */
export function getsignature(data: any) {
	return request({
	  url: "Pdfapiindex/getsignature",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}


/**
 * 用户消息列表
 */
export function projectlist(data: any) {
	return request({
	  url: "Pdfapiindex/projectlist",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}

/**
 * 项目消息
 */

export function projectmessagelist(data: any) {
	return request({
	  url: "Pdfapiindex/projectmessagelist",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 企业消息列表
 */

export function enterprisecenter(data: any) {
	return request({
	  url: "Pdfapiindex/enterprisecenter",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 企业消息列表
 */

export function enterprisemessageview(data: any) {
	return request({
	  url: "Pdfapiindex/enterprisemessageview",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 发送报价单
 * Pdfapiindex/sendpricelist
 */

export function sendpricelist(data: any) {
	return request({
	  url: "Pdfapiindex/sendpricelist",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 查看详情
 * Pdfapiindex/projectmessageview
 */
export function projectmessageview(data: any) {
	return request({
	  url: "Pdfapiindex/projectmessageview",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}

/**
 * 允许企业获取用户信息状态
 * Pdfapiindex/allowcompanyget
 */
export function allowcompanyget(data: any) {
	return request({
	  url: "Pdfapiindex/allowcompanyget",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 获取企业状态
 */
export function getmembermessage(data: any) {
	return request({
	  url: "apiindex/getmembermessage",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}

/**
 * 完善历史记录
 */
export function completehistoryrecord(data: any) {
	return request({
	  url: "Pdfapiindex/completehistoryrecord",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
/**
 * 修改状态
 */
export function updateisend(data: any) {
	return request({
	  url: "Pdfapiindex/updateisend",
	  method: "post",
	  data: data,
	  headers: {
		"Content-Type": "multipart/form-data",
	  },
	});
}
// 默认全部导出
export default {
	updateisend,
	completehistoryrecord,
	getmembermessage,
	allowcompanyget,
	projectmessageview,
	sendpricelist,
	enterprisemessageview,
	enterprisecenter,
	projectlist,
	projectmessagelist,
	summarycurl_post,
    getsummarycurl_post,
    getclasslist,
    getcompanylist,
	getoffer
}